package com.sgb.kjwl.view.ui.adapter.self.publish;

import android.content.Context;
import com.sgb.kjwl.R;
import com.sgb.link.entity.PublicTypeEntity;
import com.swgk.core.BR;
import com.swgk.core.recyclerview.adapter.BaseRecycleAdapter;
import com.swgk.core.recyclerview.adapter.ItemViewHolder;

import java.util.List;

public class MachinePublishTypeLAdapter extends BaseRecycleAdapter<PublicTypeEntity<List<PublicTypeEntity>>> {


    public MachinePublishTypeLAdapter(Context context, List<PublicTypeEntity<List<PublicTypeEntity>>> datas) {
        super(context, R.layout.item_machine_publish_type_l, datas);
    }

    @Override
    public void convert(ItemViewHolder holder, final PublicTypeEntity<List<PublicTypeEntity>> entity) {
        holder.setBinding(BR.viewModel, entity);
    }
}